import '/@/theme/index.scss';
import '/@/theme/font/fontAli.scss';
import '/@/theme/font/font-awesome.min.css';

import { createApp } from 'vue';
import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';
import ElementPlus from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
import other from '/@/utils/other';
import { directive } from '/@/directive';

const app = createApp(App);

app.use(createPinia());
app.use(router);
app.use(ElementPlus, {
    locale: zhCn
});

// 挂载elementUI-plus图标库，可以通过(el-图标名称)来引入
other.elSvg(app);
// 自定义指令
directive(app);

app.mount('#app');
